package pacman.objects;

import java.awt.Color;
import java.awt.Graphics;

/**
 * This class represents a wall object
 * @author Carlos Massera Filho
 */
public final class Wall extends Static
{
  private float angle;

  /**
   * Creates a wall in (posX, posY), visible and solid
   * @param posX
   * @param posY
   */
  public Wall(float posX, float posY)
  {
    this.posX = posX;
    this.posY = posY;
    this.visible = true;
    this.passable = false;
  }

  public void render(Graphics g)
  {
    g.setColor(Color.BLUE);
    g.fillRect((int)(posX * getCellSize()), (int)(posY * getCellSize()), (int)getCellSize(), (int)getCellSize());
  }
}
